import { styled } from 'styled-components';

export const LoginWrapper = styled.div`
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 192px);

  .header-logImg {
    display: flex;
    margin-bottom: 16px;

    .svg-icon {
      width: 24px;
      height: 24px;
      position: relative;
      top: 50%;
      transform: translateY(-80%);
      text-align: center;
      font-size: 24px;
      color: rgba(82,82,82,.28);
    }

    .log {
      height: 64px;
      margin: 20px;
    }
  }

  .login-content {
    display: flex;
    flex-direction: column;

    .login-item {
      cursor: pointer;
      margin-top: 14px;
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgb(234, 239, 253);
      border-radius: 8px;
      height: 128px;
      width: 300px;
      transition: all 0.3s ease 0s;
      padding-left: 20px;
      box-sizing: border-box;

      &:hover {
        padding-left: 5px;

        .icon {
          opacity: 1;
          margin-left: 30px;
        }
      }

      .login-title {
        font-size: 24px;
        font-weight: 600;
        color: var(--color-primary);
      }

      .login-message {
        margin-top: 4px;
        font-size: 14px;
        color: rgba(51, 94, 234, 0.78);
      }

      .icon {
        width: 24px;
        height: 24px;
        opacity: 0;
        margin-left: 5px;
        transition: all 0.3s ease 0s;
      }
    }
  }
`;
